package besta.moon.statement;

import java.sql.*;

public class MoonSavepoint implements Savepoint {

    private final int id;
    private final String name;
    public long transactionTime;

    public MoonSavepoint(int id, String name, long transactionTime) {
        this.id = id;
        this.name = name;
        this.transactionTime = transactionTime;
    }

    @Override
    public int getSavepointId() {
        return id;
    }

    @Override
    public String getSavepointName() {
        return name;
    }

}
